# -*- coding: utf-8 -*-#
#-------------------------------------------------------------------------------
# 建立者:        黄周云  
# Name:         demo05
# Description:  不出现异常时运行else代码块
# Author:       ASUS
# Date:         2019/3/23
#-------------------------------------------------------------------------------



a = 10
b = 2
c = 0

try:
    c = a / b
except Exception as e:
    print(e)
else:
    #语义的连贯,如果没有发生异常，才会执行下面的代码块
    print("else 块")


print("else 块")
print(c)
print('over')





